﻿using System.Collections.Generic;
using System.Windows.Forms;
using Sklad1_2.Data;

namespace Sklad1_2.Default
{
    public partial class Defaultform : Form
    {
        public DBase ABase;
        public string id;
        public List<string> data;
        public Defaultform()
        {
            InitializeComponent();
            ABase=new DBase(Helper.ConnectionString);
            MaximizeBox = false;
            MinimizeBox = false;
        }

        public Defaultform(List<string> item)
        {
            InitializeComponent();
            ABase = new DBase(Helper.ConnectionString);
            MaximizeBox = false;
            MinimizeBox = false;
            id = item[0];
        }
        public virtual void Init()
        {
            
        }

        public void Bind(object sender, FormClosedEventArgs formClosedEventArgs)
        {
            Init();
        }
    }
}
